Set Up the Visual Studio Project Files
Project files are supplied for Visual Studio 2015, 2017 and 2019. The projects share all of the same source files, and for the most part the source code compiled by these projects is identical.
- Compiles against .NET 4.0
- Defines preprocessor symbol MULTITHREADED_PROCESSING
- Builds the ProcessImageParallel method, which implements parallel field processing
In the source of the Forms API, all of the multithreaded processing is implemented using the Task Parallel Library introduced in .NET 4. Code blocks using the Task Parallel Library are enabled through definition of the preprocessor symbol, MULTITHREADED_PROCESSING.
- In the Forms API VS2015, VS2017, and VS2019 projects, this symbol is already defined and the target framework of the project is .NET 4.0. Thus, building the Forms API with the unmodified VS2012, VS2016, or VS2019 projects will build in support for parallel processing of fields on the form.
Project Files
Project Files can be found in the FormSuite ZIP package:
- demos\DemoSource\FormsAPI\C#\Accusoft.Forms\Accusoft.FormsAPI.VS2015.sln
- demos\DemoSource\FormsAPI\C#\Accusoft.Forms\Accusoft.FormsAPI.VS2017.sln
- demos\DemoSource\FormsAPI\C#\Accusoft.Forms\Accusoft.FormsAPI.VS2019.sln
Using the Forms API outside of .NET 4
In order to use the Forms API in projects that target earlier versions of .NET, such as .NET 2, 3, or 3.5, the Forms API needs to be rebuilt from source code.
Namespace
The namespace of all types in the API is Accusoft.Forms.